import axios from 'axios'
// Vue.prototype.$http = Axios

export default {
	getData (url,callback) {
		axios.get(url)
		.then(res => callback(res))
		.catch(e => {console.log(e)})
	}
}